<?php
/**
 * @author 		supfire@sohu.com
 * @copyright 	
 * @version 		1.0
 * @name 		user.class.php
 * @todo 		处理用户操作
 * @final 		2008-04-02
 */
!defined("IN_YCTOOL") && exit();
/**
 * 基本的处理用户函数处理方法
 *
 */
class other
{
    /**
     * 提交给我们意见建议  
     * @param string $content, $link; datetime $posttime; int $ftype
     * @return array bool
     * @author supfire
     * @final 2008-08-05
     */
    public static function addImpeach($userid, $content, $type = 0, $link = '')
    {
	!$userid && $userid = 0;
	db::insertRs(DB_TABLEPRE . 'web_impeach', 'userid, content, type, link,
	    posttime', "'$userid', '$content', $type, '$link', '".NOWTIME."'");
	return  db::insertID();
    }

}
?>
